package com.itheima.service;

import com.itheima.entity.AddressBook;

import java.util.List;

public interface AddressService {

    public int saveAddress(AddressBook addressBook);

    List<AddressBook>list();

    int defaultAddr(Long id);

    AddressBook getDefaultAddr();

    int dedeleteAddress(Long ids);


    AddressBook getAdderss(Long id);

    int update(AddressBook addressBook);
}
/**
 * @BelongsProject: reggie_project
 * @BelongsPackage: com.itheima.service
 * @Author: luanyinghao
 * @CreateTime: 2022-06-05  16:41
 * @Description: TODO
 * @Version: 1.0
 **/